#ifndef __CK_LANDSAT_METADATA_H__
#define __CK_LANDSAT_METADATA_H__

#include "ckObject.h"
#include "zCore.h"
#include <vector>
#include <string>

namespace ck
{
	namespace data
	{
		class MetaGroup;

		class ZCORE_API LandsatMeta :	public ckObject
		{
		public:
			LandsatMeta();
			virtual ~LandsatMeta();

		public:
			void				SetDatasetName(const char* szName);
			const char*			GetDatasetName();

			void				SetName(const char* szName);
			const char*			GetName();

			RESULTCODE			AddGroup(MetaGroup* pGroup);
			MetaGroup*	GetGroup(z_uint32 i);
			MetaGroup*	GetGroup(const char* szName);
			z_uint32			GetCount();

		private:
			std::string m_strName;
			std::string m_strDatasetName;
			std::vector<MetaGroup*> m_groups;
			std::vector<MetaGroup*>::iterator m_iter;
		};
	}
}

#endif //__CK_LANDSAT_METADATA_H__
